<template>
	<view class="container">
		<view class="certificate" :style="{'height':`calc(100vh - ${b_Height}px)`}">
			<image :src="$img_path('/pagesMine/zs.png')" mode="aspectFit"></image>
		</view>
		<view class="btn">
			<button>保存到本地</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				b_Height:0
			};
		},
		onLoad() {
			console.log(uni.upx2px(92),this.bottomHeight)
			this.b_Height = uni.upx2px(92) + this.bottomHeight
		}
	}
</script>

<style lang="scss" scoped>
.container{
	.certificate{
		width: 100%;
		image{
			width: 100%;
			height: 100%;
		}
	}
	.btn{
		width: 100%;
		button{
			width: 100%;
			height: 92rpx;
			background: linear-gradient( 90deg, #FFA233 0%, #FB4C4C 100%);
			font-weight: bold;
			font-size: 36rpx;
			color: #FFFFFF;
			line-height: 92rpx;
			border-radius: 0;
		}
	}
}
</style>
